<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: taohj
  Date: 2014/8/13
  Time: 18:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<div>
    <form  enctype="multipart/form-data" method="post" >

        <table style="padding-left: 20px; width: 350px; margin: 20px 30px">
            <tr>
                <td style="width: 60px">名称:</td>
                <td><input name="name" type="text" class="easyui-textbox" data-options="required:true"/></td>
            </tr>


            <tr>
                <td style="width: 60px">图片:</td>
                <td><input name="image" type="text" class="easyui-filebox" data-options="required:true,buttonText:'请选择图片'"/></td>
            </tr>


            <tr>
                <td>简介</td>
                <td><input name="description" class="easyui-textbox" data-options="multiline:true" style="height: 100px"></td>
            </tr>
        </table>



    </form>

    <div style="text-align:center;padding:18px;">
        <a href="javascript:void(0);" class="easyui-linkbutton" onclick="apptheme.createSubmit(this)">保 存</a>
        <a href="javascript:void(0);" class="easyui-linkbutton" onclick="util.formClear(this);">清 空</a>
    </div>

</div>


<script>
    $(function(){
        $('tr').each(function(){
            $(this).find("td:first").css('text-align','right');
            $(this).css('line-height','30px');
        });
    });
</script>
